ContestType

@Serializable
data class ContestType(val id: Int, val name: String, val berryFlavor: Handle.Named<BerryFlavor>, val names: List<ContestName>) : NamedModel(source)

Contest types are categories judges used to weigh a Pokémon's condition in Pokémon contests. See: https://pokeapi.co/docs/v2#contest-types

Parameters

id

The identifier for this resource.

name

The name for this resource.

berryFlavor

The berry flavor that correlates with this contest type.

names

The name of this resource listed in different languages and colors.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, berryFlavor: Handle.Named<BerryFlavor>, names: List<ContestName>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard